import request from '../../request/request.js'

//用户登录
export function login(data){
    return request({
        url:'/examination/user/login',
        method:'post',
        headers:{'Content-Type':'application/x-www-form-urlencoded'},
        data
    })
}

//用户个人信息
export function userdata(){
    return request({
        url:'/examination/user/userdata',
        method:'get'
    })
}

//清空全部人的登录状态
export function clearStart(){
    return request({
        url:'/examination/user/clearStart',
        method:'get',
    })
}

//退出
export function userOut(){
    return request({
        url:'/examination/logout',
        method:'get',
    })
}